//
//  SLInformationOptionChooseCell.m
//  SulitLoanDemo
//
//  Created by 虞嘉伟 on 2025/2/22.
//

#import "SLInformationOptionChooseCell.h"
#import <YYKit.h>
#import <Masonry.h>

@implementation SLInformationOptionChooseCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        [self.contentView addSubview:self.view];
        [self.view mas_makeConstraints:^(MASConstraintMaker *make) {
            make.centerY.equalTo(self.contentView);
            make.left.right.equalTo(self.contentView).inset(35);
            make.height.mas_equalTo(65);
        }];
    }
    return self;
}

- (SLInformationOptionComponent *)view {
    if (!_view) {
        _view = [SLInformationOptionComponent new];
    }
    return _view;
}

@end
